* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f0f7ff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.bp-icon { background: linear-gradient(135deg, #ff6b6b, #ff8e8e); }
.bs-icon { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.hr-icon { background: linear-gradient(135deg, #42e695, #3bb2b8); }

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.card-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.normal { background-color: #e6f7ee; color: #00c853; }
.warning { background-color: #fff8e1; color: #ff8f00; }
.danger { background-color: #ffebee; color: #f44336; }

.card-footer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

.filters {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.filter-item {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

select, input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

button {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 24px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3);
}

.chart-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    min-height: 400px;
    position: relative;
}

.chart-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
}

.chart-title i {
    margin-right: 10px;
    font-size: 1.6rem;
}

.bp-chart .chart-title i { color: #ff6b6b; }
.bs-chart .chart-title i { color: #4facfe; }
.hr-chart .chart-title i { color: #42e695; }

.chart-wrapper {
    height: 350px;
    width: 100%;
}

.data-table {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
}

tr:hover {
    background-color: #f9f9f9;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.normal-indicator { background-color: #00c853; }
.warning-indicator { background-color: #ff8f00; }
.danger-indicator { background-color: #f44336; }

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    h1 {
        font-size: 2rem;
    }

    .chart-container {
        min-height: 300px;
    }

    .chart-wrapper {
        height: 250px;
    }
}